<div class="clear">
  <div><h1 class="ph"><%= category.title %><small><%= category.metadata && category.metadata['副标题'] %></small></h1></div>
   <ul class="jd-box clear">
    <% children.keys.each_with_index do |category, index| %>
      <li class="<%= 'last' if index == 3 %>">
      <h2 class="f14 fyh b"><%= category.title %></h2>
      <p><img src="<%= category.avatar.url(:medium) %>" width="270" height="150"></p>
      <p><a class="view-more" href="<%= cip_category_path(category) %>">了解更多+</a></p>
      </li>
    <% end %>
   </ul>
</div>
